package HomeWork.Innerclass;

public class Demo {
    public static void main(String[] args) {
        Outer.method().show();
    }
}

interface Inter {
    void show();
}

class Outer {
    public static Inter method() {
        return () -> System.out.println("HelloWorld");
    }
}